package com.mingqijia.gassafety.webserver.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: gassafety
 * @description:
 * @author: Mr.Wang
 * @create: 2023-02-14 17:00
 **/

@Data
public class OperationLogResponse {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "操作人编码")
    private String operationPersonCode;

    @ApiModelProperty(value = "操作人名称")
    private String operationPersonName;

    @ApiModelProperty(value = "操作类型")
    private String operationType;

    @ApiModelProperty(value = "详情")
    private String logDetail;

    @ApiModelProperty(value = "企业")
    private String spId;

    @ApiModelProperty(value = "企业名")
    private String spIdName;



    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
}
